<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"
%><%@ taglib prefix="tags" tagdir="/WEB-INF/tags"
%><%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"
%><%@ taglib prefix="security" uri="http://www.springframework.org/security/tags"
%><%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"
%><%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"
%><head>
	<title><fmt:message key="label.search.byPattern" /></title>
</head>
<body>
	<c:url value="/domain/book/list" var="listUrl"/>
	<form:form action="${listUrl}" modelAttribute="searchParameters">
		<table class="show">
			<tbody>
				<tr>
					<th><fmt:message key="crud.search.pattern" /></th>
					<td>
						<form:input path="searchPattern" />
					</td>
				</tr>
				<tr>
					<th><fmt:message key="crud.search.case.sensitive" /></th>
					<td>
						<form:checkbox path="caseSensitive" />
					</td>
				</tr>
				<tr>
					<th><fmt:message key="crud.search.mode" /></th>
					<td>
						<form:select path="searchMode">
							<form:options/>
						</form:select>
					</td>
				</tr>
			</tbody>
			<tfoot>
				<tr>
					<td colspan="2">
						<tags:button type="submit" key="crud.search.button" icon="search"/>
					</td>
				</tr>
			</tfoot>
		</table>
	</form:form>
</body>
